package com.nativetalk.dao;

import com.nativetalk.bean.promocode.TdNtPromoCodeUpdate;

/**
 * Created by lizhun on 16/3/19.
 */
@MyBatisRepository
public interface TdNtPromoCodeDao {
    /**
     * @Purpose  查找优惠码信息
     * @version  2.0
     * @author   lizhun
     * @param    promo_code
     * @return   TdNtPromoCodeUpdate
     */
    public TdNtPromoCodeUpdate findTdNtPromoCodeUpdate(String promo_code);
    /**
     * @Purpose  领取优惠码后更新
     * @version  2.0
     * @author   lizhun
     * @param    tdNtPromoCodeUpdate
     * @return   void
     */
    public void updateTdNtPromoCodeUpdate(TdNtPromoCodeUpdate tdNtPromoCodeUpdate);
}
